package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.PageResult2;
import com.itheima.common.PermissionsGg;
import com.itheima.entity.Permission;

/**
 * @author cfr
 * @date 2022/1/11
 * @TIME:20:50
 */
public interface PermissionsService extends IService<Permission> {
    String deleteById(Integer id);

    PageResult2 findPage(Integer page, Integer pagesize, String title);

    String add(PermissionsGg permissions);

    PermissionsGg findById(Integer id);

    String modify(PermissionsGg permissionsGg);
}
